<link rel="stylesheet" type="text/css" href="../css/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../css/themes/icon.css">

<div id="panel-supply-statistic" data-options="border:false;width:100%">
  	<div class="well well-small" style="margin-left: 5px;margin-top: 5px">
		
		<p>
			<span class="badge">提示</span>
			在此你可以对<span class="label-info"><strong>供应商质询事项</strong></span>进行查询!
		</p>
	</div>
		
    <div class="tb-list" style="padding:2px 0">
		<table cellpadding="0" cellspacing="0"> 
			<tr>
				<td style="padding-left:2px" class="list-btn">
			
				</td>
			</tr>
		</table>
	</div>
	<table class="easyui-datagrid dg-list"  
		data-options="rownumbers:true,
		animate: true,							
		striped:true,
		border:true,
		//singleSelect:false,
		idField: 'id',					
		fitColumns: true,
		checkOnSelect:true,
		selectOnCheck:true,
		width : 'auto',
		pagination : true">
		
		<thead>						
			<tr>				
				<th field="supply_name" width="60" align="center">供应商名称</th>
				<th field="sumary_matter" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">异常事项</th>
				<th field="supply_info" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">基本信息</th>
				<th field="supply_archive" width="40" align="center" 
				data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">档案异常</th>
				
				<th field="supply_qualification" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">资质异常</th>
				
						
				<th field="supply_badinfomation" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">不良信息</th>										
			</tr>                         
		</thead>
		
	</table>
<script>
requirejs(['listPageModule','supplyStatistic','domReady!'],function(dept,supplyStatistic,doc){
	dept.init({doc:doc,
		rootId:'panel-supply-statistic',				
		subSystemCode:'supply',
		cellClick:supplyStatistic.clickCell,
		rowClick:supplyStatistic.clickRow,
		moduleCode:'supplyStatistic'
	});
});	

</script>

